package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 事件脚本内容
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class IotProductEventScript extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    private String productKey;

    private String moduleCode;

    private String dit;

    private String sourceCode;

    private String script;

    private String content;

    /**
     * 是否应用
     */
    private Integer valid;

    /**
     * 紧急程度
     */
    private Integer emergency;

    /**
     * 数据类型
     */
    private Integer dataType;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModify;

    private String createdBy;

    private String modifiedBy;

    /**
     * 是否删除，1已删除
     */
    private Integer deleteFlag;


}
